package com.loren.demo07.cluster.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Getter
@Setter
@ToString
public class ClusterMessage implements Serializable {

    private static final long serialVersionUID = 1078763394205902536L;

    private String toClientId;

    @NotBlank
    private String message;
}
